// import _ from 'mjquery'

// console.log(_.prototype)
// console.log(_.myEdit)
// console.log(_())
function fast(target, name, descriptor) {
    target.speed = 20;
    console.log(target)
    console.log(name)
    console.log(descriptor)
    let run = descriptor.value;
    descriptor.value = function() {
        // run();
        console.log(`speed ${this.speed}`);
    }

    return descriptor;
}

class Rabbit {
    @fast
    run() {
        console.log("running~");
    }
}

var bunny = new Rabbit();

bunny.run();
// running~
// speed 20

console.log(bunny.speed);   // 20 